package com.zzyl.nursing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.domain.Reservation;
import com.zzyl.nursing.dto.ReservationDto;
import com.zzyl.nursing.dto.ReservationPageDto;
import com.zzyl.nursing.vo.CountByTimeVo;

import java.util.List;

/**
 * 预约信息Service接口
 * 
 * @author I:P Masquerenaʚїɞ
 * @date 2025-06-09
 */
public interface IReservationService extends IService<Reservation>
{

    Integer getCancelledReservationCount();

    List<CountByTimeVo> countByTime(Long time);

    void saveReservation(ReservationDto reservationDto);

    List<Reservation> reservationPage(ReservationPageDto reservationDto);

    void cancelReservation(Long id);
}
